package com.springcloud.music.demo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ Author      : cyw
 * @ Date        : created in  下午11:05 2021/4/21
 * @ Description :
 * @ Modified By :
 * @Version : $
 */
@FeignClient(name = "user-service",fallback = UserServiceFB.class)
public interface UserService {
    @GetMapping("/comment")
    public Object allComment();

    @GetMapping("/collection")
    public Object allCollection();
}
